.wrap {
  width: 750px;
  min-height: 100vh;
}
.container {
  @extend .wrap;
  box-sizing: border-box;
  background-position: center;
  background-image: url("/assets/images/christmas/bg-all.png");
  position: relative;
  width: 100%;
  background-position: center;
  background-size: cover;
  video {
    width: 100%;
  }
  img {
    width: 100%;
  }
  .back {
    width: 120px;
    height: 120px;
    background-image: url("/assets/images/qixi/通用返回@2x.png");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 16px;
    left: 16px;
  }
  .btn {
    width: 44px;
    height: 80px;
    position: absolute;
    right: 0px;
    color: white;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    padding: 18px 14px;
    text-align: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .btn1 {
    top: 152px;
    background-image: url("/assets/images/christmas/btn-reward.png");
  }
  .btn2 {
    top: 272px;
    background-image: url("/assets/images/christmas/btn-rule.png");
  }

  .content_wrap {
    position: relative;
    top: -280px;
    .descBox {
      width: 100%;
      padding: 0 32px;
      > img {
        width: 100%;
      }
      .desc1 {
        margin-bottom: 30px;
      }

      .gift_container {
        margin-bottom: 50px;
        .top_box {
          display: flex;
          align-items: center;
          margin-bottom: 30px;

          .message {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-image: url("/assets/images/christmas/gift/message.png");
            background-size: contain;
            background-repeat: no-repeat;
            margin-right: 14px;
          }
          .popover_content {
            width: 636px;
            border-radius: 0px 28px 28px 28px;
            font-weight: 400;
            font-size: 24px;
            color: #d9fdff;
            line-height: 36px;
            padding: 23px;
          }
          .gift_wrap {
            position: relative;
            .progress_text {
              font-size: 20px;
              color: #ffffff;
              position: absolute;
              left: 50%;
              top: -28px;
              transform: translateX(-50%);
              margin-left: 10px;
            }
            .progress {
              width: 580px;
              height: 26px;
              background: linear-gradient(0deg, #c02735 0%, #9a3801 100%);
              border-radius: 13px;
              overflow: hidden;
              .progress_bar {
                height: 100%;
                border-radius: 13px;
                background-image: url("/assets/images/christmas/gift/progress.png");
                background-repeat: no-repeat;
                background-size: cover;
                transition: width 0.8s ease;
              }
            }
          }
        }
        .bottom_box {
          display: flex;
          justify-content: space-between;
          width: 655px;
          margin-top: -85px;
          margin-left: 25px;
          position: relative;
          z-index: 1;
          .item {
            text-align: center;
            .gift {
              width: 65px;
              height: 65px;
              background-image: url("/assets/images/christmas/gift/gift.png");
              background-repeat: no-repeat;
              background-size: contain;
              margin: 0 auto 10px;
            }
            .content {
              img {
                width: 155px;
              }
              .pickBtn {
                width: 108px;
                height: 45px;
                margin: -25px auto;
                > img {
                  width: 100%;
                  height: 100%;
                }
              }
            }

            .content_gray {
              pointer-events: none;
              filter: grayscale(100%);
              -webkit-filter: grayscale(100%);
              -moz-filter: grayscale(100%);
              -ms-filter: grayscale(100%);
              -o-filter: grayscale(100%);
            }
          }
        }
      }
    }

    .rank_container {
      // width: 100%;
      height: 1263px;
      position: relative;
      background-image: url("/assets/images/christmas/bg-rank.png");
      background-repeat: no-repeat;
      background-size: cover;
      margin-top: 65px;
      position: relative;
      margin: 74px 32px 0;

      .btn_box {
        display: inline-flex;
        justify-content: space-between;
        align-items: center;
        margin: 210px 70px 37px;

        width: 560px;
        height: 60px;
        background: #3a33bb;
        border-radius: 16px;

        .btn_switch {
          width: 148px;
          // height: 96px;
          background-image: url("/assets/images/christmas/btn-s.png");
          background-size: contain;
          background-repeat: no-repeat;
          font-weight: 600;
          font-size: 28px;
          color: #ffffff;
          line-height: 86px;
          text-align: center;
          margin: -7px;
        }
        .no_select {
          background-image: url("/assets/images/christmas/btn-n.png");
        }
      }

      .rank_box {
        width: 670px;
        max-height: 900px;
        overflow-y: auto;
        margin: 0 auto;
        padding: 0 38px;

        .rank_list {
          width: 100%;
        }
        .title {
          font-weight: bold;
          font-size: 56px;
          color: white;
          line-height: 36px;
          text-align: center;
        }

        .td_box {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 60px;

          .rank {
            width: 360px;
            font-weight: 600;
            font-size: 36px;
            color: #aba1f2;
            line-height: 36px;
            width: 60px;
            margin-right: 24px;
            text-align: center;
            position: relative;
            > img {
              width: 52px;
              height: 39px;
            }
            > span {
              color: white;
              position: absolute;
              top: 4px;
              left: 22px;
              font-size: 28px;
            }
          }
          .user {
            flex: 1;
            display: flex;
            align-items: center;
            color: white;
            > img {
              width: 96px;
              height: 96px;
              border-radius: 50%;
              background: white;
              margin-right: 19px;
            }

            .nickname {
              max-width: 272px;
              font-size: 28px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              font-weight: 400;
              line-height: 36px;
            }
            .score {
              font-size: 24px;
              opacity: 0.6;
            }
          }
          .rankBtn {
            min-width: 96px;
            height: 48px;
            background: linear-gradient(0deg, #ffe681 0%, #fcbe52 100%);
            border-radius: 12px;
            font-weight: 400;
            font-size: 22px;
            color: #e014b5;
            line-height: 22px;
            text-align: center;
            padding: 12px 14px 16px;
          }
          .rankBtn_blue {
            min-width: 96px;
            height: 48px;
            background: linear-gradient(0deg, #7a8aff 0%, #366ffa 100%);
            border-radius: 12px;
            font-size: 22px;
            color: #ffffff;
            line-height: 22px;
            opacity: 0.6;
            text-align: center;
            padding: 12px 14px 16px;
          }
        }

        .image {
          width: 200px;
          position: absolute;
          right: 10px;
          bottom: 0;
        }
      }
    }
  }

  .user_box {
    width: 100%;
    height: 165px;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    // border-radius: 40px 40px 0 0;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    background-size: contain;
    background-image: url("/assets/images/christmas/bg-bottom.png");
    z-index: 1;
    .user_content {
      width: 680px;
      position: absolute;
      top: 50px;
      left: 35px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      text-align: center;

      .right {
        width: 135px;
      }
    }

    .my_rank_desc {
      font-weight: bold;
      font-size: 32px;
      color: #ffffff;
      line-height: 36px;
      text-align: center;
      margin-bottom: 14px;
    }
    .my_rank_index {
      font-weight: 400;
      font-size: 32px;
      color: #ffe660;
      line-height: 36px;
    }
    .my_rank_num {
      font-weight: 400;
      font-size: 32px;
      color: #ffe660;
      line-height: 36px;
      text-align: center;
    }

    .user {
      width: 240px;
      flex: 1;
      margin: 0 50px;
      display: flex;
      align-items: center;
      font-weight: 400;
      font-size: 30px;
      color: #ffffff;

      img {
        width: 96px;
        height: 96px;
        background: #625bab;
        border-radius: 50%;
        margin-right: 13px;
      }
      > span {
        flex: 1;
        line-height: 36px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  }

  .messageBox {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 2;
    .message {
      width: 580px;
      padding: 40px;
      background-color: white;
      border-radius: 10px;
      > p {
        padding: 20px;
        margin-bottom: 0;
        span {
          color: #e014b5;
        }
      }
      > div {
        color: #e014b5;
        text-align: right;
        // height: 80px;
        line-height: 80px;
      }
    }
  }
}
.questionWrap,
.questionWrap1 {
  @extend .wrap;
  position: relative;
  width: 100%;
  img {
    width: 100%;
  }
}
.questionWrap {
  width: 750px;

  background: linear-gradient(0deg, #5f67d4 0%, #5e67d4 100%);
  padding: 130px 21px 60px;
  position: relative;

  .content {
    width: 100%;
    min-height: calc(100vh - 190px);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 76px;

    .btn_box {
      display: inline-flex;
      justify-content: space-between;
      align-items: center;
      margin: 154px 0px 54px;

      width: 560px;
      height: 60px;
      background: #3a33bb;
      border-radius: 16px;

      .btn_switch {
        width: 148px;
        // height: 96px;
        background-image: url("/assets/images/christmas/btn-s.png");
        background-size: contain;
        background-repeat: no-repeat;
        font-weight: 600;
        font-size: 28px;
        color: #ffffff;
        line-height: 86px;
        text-align: center;
        margin: -7px;
      }
      .no_select {
        background-image: url("/assets/images/christmas/btn-n.png");
      }
    }
  }

  .btn_back {
    width: 70px;
    height: 70px;
    background-image: url("/assets/images/halloween/reward/back.png");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 67px;
    left: 42px;
  }
}
.questionWrap1 {
  z-index: 2;
  > img {
    margin-top: 50px;
  }
  .content_box {
    width: 100%;
    position: relative;
  }
  .ruleDetail {
    font-weight: 400;
    font-size: 30px;
    color: #ffffff;
    line-height: 46px;
    position: absolute;
    top: 220px;
    left: 0;
    padding: 0 60px;
    > P {
      margin-bottom: 30px;
    }
  }
}
